package com.wu.gumomallmember.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wu.common.utils.PageUtils;
import com.wu.common.vo.member.MemberUserLoginVo;
import com.wu.common.vo.member.MemberUserRegisterVo;
import com.wu.common.entity.member.MemberEntity;

import java.util.Map;

/**
 * ??Ա
 *
 * @author wu
 * @email 2195361340@qq.com
 * @date 2022-12-12 18:25:19
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    MemberEntity register(MemberUserRegisterVo memberUserRegisterVo);

    MemberEntity getByPhone(String phone);

    MemberEntity getByUserName(String userName);

    MemberEntity getByLoginName(String loginName);

    MemberEntity login(MemberUserLoginVo memberUserLoginVo);

}

